define([
        'backbone',
        'GlobalConfiguration',
        '../../models/filters/Mfilters'
        ], 
function(
        Backbone,
        GConfigs,
        ModelFilters
        ) {
    
    var CollectionFilters = Backbone.Collection.extend({              
        url: function () {            
            var URL = GConfigs.CONSTANTS.PROTOCOL + "://" +
                      GConfigs.CONSTANTS.HOST_NAME + ":" +
                      GConfigs.CONSTANTS.PORT_NO +
                      GConfigs.CONSTANTS.REST_PATH +
                      GConfigs.API.fetchProductDetailsBySearchKeyWord +
                      "&searchKeyWord=" + window.searchItem;           
            return URL;
        },
        parse: function (data) {           
            return data.rows;
        }
    });
    return CollectionFilters;
});



